package com.yu.thread4;

/**
 * Created by xiaolongyu on 15/1/23.
 */
public class MainTest {
    public static void main(String[] args) {
        Sample sample = new Sample();
        Thread t1 = new DecreaseThread(sample);
        Thread t2 = new IncreaseThread(sample);
        Thread t3 = new DecreaseThread(sample);
//        Thread t4 = new IncreaseThread(sample);

        t1.start();
        t2.start();
        t3.start();
//        t4.start();
    }
}
